
using AutoMapper;
using Yozeev.SystemConfig;
using Yozeev.SystemConfig.Dtos;

namespace Yozeev.SystemConfig.Mapper
{

	/// <summary>
    /// 配置BranchUser的AutoMapper
    /// </summary>
	internal static class BranchUserMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <BranchUser,BranchUserListDto>();
            configuration.CreateMap <BranchUserListDto,BranchUser>();

            configuration.CreateMap <BranchUserEditDto,BranchUser>();
            configuration.CreateMap <BranchUser,BranchUserEditDto>();

        }
	}
}
